#include<stdio.h>
void sort(int* pa, int* pb, int* pc)
{
	int t = 0;
	if (*pa > *pb)
	{
		t = *pb;
		*pb = *pa;
		*pa = t;
	}
	if (*pa > *pc)
	{
		t = *pc;
		*pc = *pa;
		*pa = t;
	}
	if (*pb > *pc)
	{
		t = *pc;
		*pc = *pb;
		*pb = t;
	}
}
int main()
{
	int a = 0;
	int b = 0;
	int c = 0;
	scanf_s("%d%d%d", &a, &b, &c);
	sort(&a, &b, &c);
	printf("%d %d %d", a, b, c);
	return 0;
}